package com.sjq.yqgl.service;

import java.util.Map;
import net.sf.json.JSONObject;
import com.sjq.common.entity.LoginAccount;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
import com.sjq.yqgl.entity.Yqbs;
import com.sjq.common.exception.ServiceException;
import com.sjq.common.util.PageResults;
import com.sjq.common.entity.Result;

public interface YqbsService {
	//新增
	public JSONObject addYqbs(Yqbs yqbs,LoginAccount la);
	//新增含有附件的页面
	public JSONObject addYqbsFilesByFTP(Yqbs yqbs,CommonsMultipartFile[]  fj,LoginAccount la);
	//删除
	public JSONObject deleteYqbs(String yqbsId,LoginAccount la);
	//修改
	public JSONObject updateYqbs(Yqbs yqbs,LoginAccount la);
	// 分页查询
	public PageResults<?> findYqbsByPage(int pageNo, int pageSize, Yqbs yqbs);
	
	//根据条件查询所有记录
	public JSONObject findYqbsByListAll(Yqbs yqbs,LoginAccount la);
	
}